package com.ruoyi.entity.mapper;

import com.ruoyi.entity.domain.Comic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * 漫画Mapper接口
 *
 * @author Delamer
 * @date 2020-12-30
 */
public interface ComicMapper extends BaseMapper<Comic> {
    public void addComic(Comic comic);
    public void setComic(Comic comic);
    public Comic getComicById(Long id);
    public Comic getComicByCode(Long code);

    public Long getMaxId();

    public void doDownload(Long id);
    public void doComplete(Long id);
    public void doException(Long id);
}
